diff options
Diffstat (limited to '')
-rw-r--r-- | frontend/src/routes/comics/[id]/+page.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/frontend/src/routes/comics/[id]/+page.ts b/frontend/src/routes/comics/[id]/+page.ts new file mode 100644 index 0000000..d872ba2 --- /dev/null +++ b/frontend/src/routes/comics/[id]/+page.ts @@ -0,0 +1,5 @@ +export function load({ params }: { params: Record<string, string> }) { + return { + id: +params.id + }; +} |